added fix for single char lines