fix variable
set hostname to platform