enhancing the app and removing errors