Could u please post the relevant code..its really hard to guess the problem, although i think it will be a really trivial one