#mcve
When asking a question about a problem caused by your code, you will get much better answers if you provide code people can use to reproduce the problem. That code should be…
…Minimal – Use as little code as possible that still produces the same problem
…Complete – Provide all parts needed to reproduce the problem in the question itself
…Verifiable – Test the code you're about to provide to make sure it reproduces the problem
Taken from https://stackoverflow.com/help/mcve