fixed a few issues in chrome