fix ordering bug in Chrome