default resource support fixed #126