support references as values; fix missed operator