fixed extra data polyfit