Why are you removing all this? It doesn't have anything to do with the bug. Also, do not hardcode links and forms