trying to fix the marshal error