fix: don't use empty on method return value
mod: data validation