fix rm_pool/1