fix bug in wishome init script