fixed bug in showing 'blocks'