reflection bugfix