preventing redeclare fatal error