fixed some minor thangs