fixed running in process if no project was opened before