[fix] scope reference and remove exists check