fixes for cronjobs (no endlines)