fixed bug with enroll