fix block leak