fixed stupid lines bug