fix app deployment