fixed 0pointer when identifier isn't set