Fixed workspace fixing bug