fix the problem of max column