fix field initialization in profile