helping andrew fix a bug

a