update to express v3 and fix bug