fix number of RAM for bare metal system