fixed debugs