fixed bug with effects getting stuck