fixed a bug with quotations within an exec