Fix bug in get_static