Fixed non deletion of unused markers