Fixed databased assembly bug