avoid clearing block[] if its not used at all