fixed frameHistory