fix tailor error