Fixed bug on profile pages