Attempt to fix bug -- error in Chrome