Fixed reg button problem