get rid of the check for attachment folder