fixes so it works