fixed reflection bug