indent error in search routine