workaround for weird path bug