Use correct function to show error