fix deps and do a proper install