Remove empty resources