fix bug for using formatexpr

return 1 seems cause unexpected behavior when using formatexpr, so remove it