player is still segfaulting randomly