Fix setting constructor