updates for 0.4.x https://github.com/designcreateplay/NodeBB/issues/1276