Fixed deriving error.