i now get this message after adding your bit in "Object reference not set to an instance of an object."