fixed identify and register