fix a bug in wishome init script