minor bugfixin