works better in chrome without this change