bugfix in TaskStorage.getPass()