i have figured out how to remove the empty cells so do not worry about that, just the problem of the error message now!