fixed weird "with" bug