fixing errors in opo v4