Fixed registry validation error