fix a parser bug for function type