fix app name and wrong variable name