same as https://github.com/framgia/fent/pull/72/files#r4862003