fix some compilation