fixed linefeed problem