How does one avoid this error?