parser with seg fault