fix starting in terminal