fixed some minor bigs