fixing transition lag