fix frame time