Fixed bug in IE/FF from last commit