im an idiot, spent ages fixing the most retarded bug