Small fix to prevent searching for errors on runtime