fix no-porfession bug