fixed bug that does not recognize the default wb resource if manually changed