fix minor bug

error failed to show when invalid citation entered