fixed the dbmng_create_form function