improve error message when installing