fix max leght