fixed workspace bug