#10 added workaround for chrome