fixed App:find() undefined index bug