minor bugfixs

nt