better fix: return the 'unnecessary' code