fix compile error and add super statement