fix bug with effectKey