fixed some bugs

ya i k ther are 2 errors