reverting appfog stuff