db proc fixed

db proc fixed