Fixed an error that my IDE didn't want to tell me about