fix max-width validation error