fixed backend deprecation warnings caused by new moment.js version