removing static directive