added fix for self.app.load
fixed index on self.app.load