second bug fixed