add cron maintenece and fix issues