fix order issue under node 0.8