removing static templates