fix error to add isolate magenta database