fixed deployment db fill script

concerns #639