grid_frame set function fix.