Corrected the initial errors in the application