Fixed invalid address crash