bounds fixing