fix conditions style