fixed unused variable warning.
fixed apploader file encoding.