fixed phi table - clearing after each iter