fix path thing & stdout without buffer