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