Fixed two indexing errors, still not running