fixed a number of bugs related to symbolic functions