Fixed allrows exception