Fixed Transloc generation from DB