fix for memory plugin question mark regex