bugfix reader snippet