fix type of extra
add debug put method
fix indent