attempting to fix bug