fix for enroll ui issue