fixed profile page bug when Nonetype present