fixed ram_block.c