fix to remove init.d problems