fix a little error
add print codes