minor changes to Drift lib