fix load file frames number bug