fixed a bug for vagrant