fixed bug on alumn db insertion