compiler errors in search