fix silly code