remove unnecessary isDeclarative