fixed a wrond deny of access to students going to fill their last attampt