kf solution to the bug when the application is in production