fixes to play nice with old version for sublime 2