Removing duplicate for and asjc code chart directives