fix max children