fixed chrashes on chrome