fix in animation layout