fix box generation
add comment