tried deleting class level DATABASE variable