Fixed compile issue with type.