fix spell type + doc dependency + shorter messages