clean up scope shit