fixed the block to display the appropriate information