fixing app to compile