compilation erro fix