fix some profile problem