[fix] add cast int() in func key step