Fix bug when installing