This question appears to be off-topic. The users who voted to close gave this specific reason:

"Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – Marius