tried to fix bug