Fixed the issues I created when half-awake ;)
I should replace it with something real later.