Fixed dom can't get error