solved the error for large table