fixed problem with nested quotes