Getting a strange error about render not being a method =_=