correct bug in dbmng_is_picture