remove category variable from expected output