Fix for ROP cost