fix local guards if no rhs is given