Fix bug #523 array key use constant