Fixing main task