fix hook to keep hooked 'this', update log, fix server side moment