app not generated correctly