modify 4b and fix one bug