fixed User and Error objs