fixed refs and figure sizes