fixed issue with missing id