load_metadata is also called on line 128. we should remove one of them.