narrowing down horrible bug