fix bug in apic.c and update of Readme