Minor fixes

fixed some errors