Fix error message when avatar too large