Enabled compatibility mode for api higher than 4.0.