delete some unnecessary objects, and add in profile support