attempting to fix strange daniel cook problem