fix issue with sprite