destroy scope before creating a new one and proper clean up on destroy