god I am bad at debugging php quickly