fixes retrieve