Conditions only work sometimes. HELP!