fixing a problem in the init script