fixed parsing bug on call