fixed reflection utils