fix dependency with ~