cleanup
fixes crash introduced @1021615848e49da3434f00cfdb6fb79ab5990b47