fix problem with empty project get_mediums