remove black space at lineend