Forcing to index variables immediately after task is submitted