Fixed documentation spaces and typo in psuedo