tweak shared.coffee