fixed bug with deleting empty sentences and added metric dotted underlining