Resolve cannot redeclare