factor id bug