fixing placeholder-related expression evaluation