couple minor bug  fixes

qwepo