replace #prof with .prof