Fix exist check in profile