Fixed errors

attempt to index global 'SHUD' (a nil value)