fixed bad lib stuff