second bug solution