correct block number, remove listener after use