Locale fix + removed debug stuff