readded autorestart