correcting behavior of the application