trying to fix sprite issue