bugfix 500error after automatically delete video