added git ignore + small bug fix