fix method getDatabase if RO Manager