sometimes working and sometimes not

increasing duration on last animate