fixed problems with loading audio and images resources