Attempting to fix bug...uncertain of origin