improve spec of dynamic