repositoryOpen - properly alocated data