fix return value of iecramps