Fixed your problem.

1. Read the diff.
2. Realize how much time you lost on this shit.
3. Cry.