Inserted fix in case there is a duplicate function or subroutine