Try debugging gallery intermittent error.