fix bug
fix incorrect value
add temp logic...generator working for 1 box