Deleted useless function in profile local