Fixed workspace access bug