modify some codes about target