fix nullref for currentexercise