add check for # in external check