FIX: stored DB procedure fix