[fix] fixing callback issue, host wasnt asigned when function