changes in compability v4 and v5