fix getProjectByUri
handle exceptions on md obj create