Fix incorrect a type declaration