Fixed conditional error