fix start/end, add raw viewer