Fix conditional error