preventing properly using an async block
fixed a crash on view swap.