fixing flash latency when clock is faster