some correction to position boxes at the beginning