fixed grep bug for base64 characters