remove unnecessary reflections