Fix error message bug in profile.jsp