refactor(omit): fix behavior