Can you put your code and error in code tag? It's too hard and confusing to read through all these codes you gave here