fix bug getting attribute expression values