derpy dual condition bug corrected