fix compile for defy #2