remove reflection code