Fixed notice error if servervar isnt set