fixed stupid mistake
changed some things