fixed problem with compileapp and compiled apps