[fix] Wrong variable type 'indefined'