Removes debug warnings