fixes for IDs fields