Correcting resource path loading