Finally! So much Debugging oh shit