Fixed type and small bugfix in lorem ipsum generator