fix coincide instructor check fucntion