bugfixes with keyword parameters