Commented segfault

- memory leak created to avoid segfault (commented with FIXME)
- first error pointed out (commented with FIXME)
- to complex to fix now, for this moment using a workaround that creates memory leak (but not important at this point)