fixed generate initial pc