fix compatibilitty with 5.3