fix resume profile and edit bug