Reverted the changes on the rapi