Removes unnecessary showError method call