fixed profile view errors