bug with sprite