Bug fix in nodejs backend