I don't think one or me in particular can be of much help here without seeing the (whole) code/ project, you'd either have to post it (stripped down) or debug it yourself.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual