Improved exception handling in Register For KB