fixed #14, type converting header