fixed error from debugging while playing -.-