smoothening out remote_syslog install
fixing some possible bugs