fixed bug

'str' object has no attribute 'resolve'