resource structure fix

Fixed the resource structure