small fix, was overwriting myApp variable