fixes so it can be installed globally