Fixed compilation and compilation bug