fixes for Sencha Touch 2.2.1 compatibility