on replace & static attributes