protection against null stuff