fix broken type