Can you post the code you're having problems with? I suspect there's a very simple solution.