fix render attachments