Fixed prev comit bug