fix max argument in getData