fixing bug caused by last changes -- unit tests now pass on chrome