Bug fix on global get db action
0.3.1