sprites no longer crash program