remove unused scope