Incorrect Type Expected Compose Specification