fixes required for MATLAB support