fix some facts to work
use namespacing for all variables
fix some typos in the resource