fix compliation issues