fixed function parsing