removing debug warning