Fixing resource id