fixed test compile issue