fixed "resource unavailable"