type in media display should not be null