remove redundant variable assignment
remove dupes and other problem forms from regular exports