Added [nl] as new line and fixed some issues