fix rest profile