bug fix in invalidation didnt invalidate rendering