fixed some bugs with some things