lock es5class version