still attempting to fix bug