Please add more info about your system, as requested in https://retropie.org.uk/forum/topic/3/read-this-first.
Can you give an example - file name and checksum - for such non-working ROM ? Did you any of the non-working ROMs in another emulator ? Are they headered/non-headered ?