Moh table from database not working

hi

I have configured my musiconhold.conf with a database table “ast_config_moh”. but everytime i start/restart asterisk, the musiconhold contexts saved in the database are not loaded properly. when i use MusicOnHold(mohclass) in dialplan… it says “Music on Hold class ‘mohclass’ not found”

it works fine if i give one “moh reload” command in the cli. but i need to give this command everytime is start asterisk.

what might be wrong?

thanx.