fixed extensions for sprites and now no bugs