core: fix constant fields values retrieval