fix bug in `resolve`
remove site things