fixed bug with sprite path