fix merger, fix max