added new namespaces for action and fixed a flaw in the model.save function