fixed boundary repair problems