add nearest interface
fix
fix