fixed reflection stuff