error reporting kinda works but the line numbers are fucked up