add checkRowCallback & ratio