minor bug in block