fixing for sprite