attempt to fix bug