fixed to work with NodeBB 0.4.x