fixed potential bug in future mocks