Fix bug on multiple -c flags

Fix bug on multiple -c flags when fobos file is used.