Fixed errors from Google Chrome