small changes like in Titanium Mobile repo