Fix type output