Fixed a missing ")" that was causing crashes. I really need to invest in an IDE :|