fix identity bug