bugs fixed; windows line breaks