fixed issue with chrome 31