fix identity function