Bugfixes

Fixed a bug with the reflection class