bugfixing
minor bugfixing