remove possible reference cycle by in blocks