add dir for frame