fixed compatibility

fixed compatibility