several bugfixes for previous commits
bugfix for greetings