fix validation in profile