fixed issue #314 - fix for > at end of line