It's tough to offer help on source code I haven't seen. Can you post the code you're having problems with?