fixed getTasks(String name) to match the name case insensitive