Fix effect less assignment