fixed bug for mobile create professor