fix bug for two-liners