fix bug with external labs