small refactory on graphic objects