Fix type command