fix bug in shared projects