Fix bug in parse.c