BUG FIX : maxWidth checks corrected again