remove undefined property in AbstractClass