resources bug