box creation fix